package com.csmht.tododemo.annotation;




import com.csmht.tododemo.pojo.enumeration.OperationType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 实现公共段自动填充,注意实体类必须放在mapper首个参数，且必须有setCreateTime和setCreateUser
 */

//标记注解位置
@Target(ElementType.METHOD)

@Retention(RetentionPolicy.RUNTIME)
public @interface AutoFill {

    OperationType value() ;

}
